﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace PPM.Blog.Mvc.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            Action<int> action = delegate (int x) { Console.WriteLine("l"); };
            action = (int x) => { Console.WriteLine("l"); };
            action = x => { Console.WriteLine("l"); };
            action = x => Console.WriteLine("l"); Console.WriteLine("2");

            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your application description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }
    }
}